{% extends group_base|default:"site_base.html" %}

{% load i18n %}
{% load group_tags %}

{% block extra_head %}
    <link rel="stylesheet" href="{{ STATIC_URL }}tasks/css/tasks.css" />
{% endblock %}

{% block body_class %}tasks{% endblock %}

{% block subnav %}
    {% if user.is_authenticated %}
        <ul>
            <li><a href="{% groupurl planning group username=user.username %}">{% trans "Plan tomorrow" %}</a></li>
            <li><a href="{% groupurl tasks_today group username=user.username %}">{% trans "Today's Tasks" %}</a></li>
            <li><a href="{% groupurl task_add group %}">{% trans "Add Task" %}</a></li>
            <li><a href="{% groupurl tasks_for_user group username=user.username %}">{% trans "Your Tasks" %}</a></li>
            <li><a href="{% groupurl task_list group %}">{% trans "All Tasks" %}</a></li>
            <li><a href="{% groupurl tasks_history_list group %}">{% trans "Tasks History" %}</a></li>
        </ul>
    {% else %}
        &nbsp;
    {% endif %}
{% endblock %}
